using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;

using SharpCore.Data;

namespace TF.Access {
	public partial class Vw_album_list {
        public static List<Vw_album_list> SelectAlbumListByOwner(int uid)
        {
            using (SqlDataReader dataReader = SqlClientUtility.ExecuteReader("SelectAlbumListByOwner", uid))
            {
                List<Vw_album_list> vw_album_listList = new List<Vw_album_list>();
                while (dataReader.Read())
                {
                    Vw_album_list vw_album_list = MakeVw_album_list(dataReader);
                    vw_album_listList.Add(vw_album_list);
                }
                return vw_album_listList;
            }
        }
	}
}
